#!/bin/bash
set -e
set -x
MYDIR="${0%/*}"
cd "$MYDIR/.."
source "recipes/common.sh"


# RECIPE START cpio

reset_mtime cpio cpio/configure.ac
mkdir -p build/cpio
cd build/cpio
../../cpio/configure \
	${CONFIGURE_ARGS} \
	${AUTOCRAP_KLUDGE}

cd ../..
make_build build/cpio
rm -f "${stage}${prefix}/libexec/rmt"

# RECIPE END cpio
